#include<iostream>
using namespace std;
const int N = 1e5 + 10;
int arr[N];
int main()
{
    int n = 0;
    cin >> n;
    int  j = 1;
    for (int i = 1; i <= n; i += 2)
    {
        arr[i] = j++;
        arr[i + 1] = n - arr[i] + 1;
    }
    for (int i = 1; i <= n; i++)
        cout << arr[i] << " ";

    return 0;
}